package com.kalix.mooc.news.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 功能描述:
 *
 * @Description: 新闻中心实体类
 * @Author: yyp
 * @CreateDate: 2019/5/10$ 10:10$
 * @Version:
 */
@Entity
@Table(name = "mooc_NewsCenter")
public class NewsBean extends PersistentEntity {
    private String newTitle; // 新闻标题
    private String newDate; // 新闻日期
    @Column(name = "newUrl", columnDefinition = "text")
    private String newUrl; //新闻图片
    @Column(name = "newDetails", columnDefinition = "text")
    private String newDetails; //新闻详情
    private int newOrder; //新闻排序位置

    public String getNewTitle() {
        return newTitle;
    }

    public void setNewTitle(String newTitle) {
        this.newTitle = newTitle;
    }

    public String getNewDate() {
        return newDate;
    }

    public void setNewDate(String newDate) {
        this.newDate = newDate;
    }

    public String getNewUrl() {
        return newUrl;
    }

    public void setNewUrl(String newUrl) {
        this.newUrl = newUrl;
    }

    public String getNewDetails() {
        return newDetails;
    }

    public void setNewDetails(String newDetails) {
        this.newDetails = newDetails;
    }

    public int getNewOrder() {
        return newOrder;
    }

    public void setNewOrder(int newOrder) {
        this.newOrder = newOrder;
    }
}
